/* 修改container 最大宽度为 1280 按照设计稿来走 */

body {
    background-color: #f5f5f5;
}

.container {
    background-color: #fff;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

@media screen and (min-width:1280px) {
    .container {
        width: 1280px
    }
}


/* header */

header {
    padding-left: 0!important;
}

.logo {
    background-color: #429ad9;
}

.logo span {
    display: block;
    height: 41px;
    font-size: 18px;
    color: #ffffff;
    text-align: center;
    line-height: 41px;
}

.logo img {
    display: block;
    /* width: 100%; */
    /* 在小屏幕下 图片设置成最大宽度 并居中对齐  */
    max-width: 100%;
    margin: 0 auto;
}


/* nav模块 */


/* 当进入小屏幕和超小屏幕时 导航栏浮动起来一行显示 */

@media screen and (max-width:991px) {
    .nav li {
        float: left;
        width: 20%;
    }
    .news {
        margin-top: 10px;
    }
}


/* 当进入到超小屏幕时 导航栏字体变小 */

@media screen and (max-width:767px) {
    .nav li a {
        font-size: 12px;
        padding-left: 3px;
    }
    /* news */
    .news ul li:nth-child(1) {
        width: 100% !important;
    }
    .news ul li {
        width: 50% !important;
    }
    .publish h3 {
        font-size: 14px;
    }
}

.nav {
    background-color: #eeeeee;
    border: 1px solid #cccccc
}

.nav a {
    display: block;
    height: 40px;
    line-height: 40px;
    padding-left: 30px;
    color: #666;
}

.nav a::before {
    margin-right: 10px;
    vertical-align: middle;
}

.nav a:hover {
    color: #333333;
    background-color: #ffffff;
}


/* news模块 */

.news ul li {
    float: left;
    width: 25%;
    height: 128px;
    padding-right: 10px;
    margin-bottom: 10px;
}

.news ul li a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.news ul li a img {
    width: 100%;
    height: 100%;
}

.news ul li a p {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 41px;
    margin-bottom: 0;
    color: #ffffff;
    font-size: 12px;
    background-color: rgba(0, 0, 0, .3);
    padding: 5px 10px;
}

.news li:nth-child(1) {
    width: 50%;
    height: 266px;
}

.news ul li:nth-child(1) p {
    line-height: 41px;
    font-size: 24px;
    padding: 0 10px;
}

.publish .row {
    border-top: 1px solid #cccccc;
}

.publish img {
    width: 100%;
    margin: 10px;
}

.banner img {
    width: 100%;
}

.hot {
    display: block;
    border: 1px solid #cccccc;
    margin-top: 10px;
    padding: 0 20px;
}

.hot span {
    border-radius: 0;
    margin-bottom: 10px;
}